micro_utils.dokka
0.9.5
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
[jvm]safeActor
safe
Actor
jvm
inline
fun
<
T
>
CoroutineScope
.
safeActor
(
channelCapacity
:
Int
=
Channel.UNLIMITED
,
noinline
onException
:
ExceptionHandler
<
Unit
>
=
defaultSafelyExceptionHandler
,
crossinline
block
:
suspend
(
T
)
->
Unit
)
:
Channel
<
T
>
Content copied to clipboard